﻿<phone:PhoneApplicationPage
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
	xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:local="clr-namespace:PhotoPuzzle"
	mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="480"
	x:Class="PhotoPuzzle.MainPage"
	FontFamily="{StaticResource PhoneFontFamilyNormal}"
	FontSize="{StaticResource PhoneFontSizeNormal}"
	Foreground="{StaticResource PhoneForegroundBrush}"
	SupportedOrientations="Landscape" Orientation="LandscapeLeft"
	shell:SystemTray.IsVisible="False">

	<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot">
		<Grid.Background>
			<ImageBrush Stretch="Fill" ImageSource="Res/background.jpg"/>
		</Grid.Background>
		<Image Source="Res/main.png" Stretch="Fill"/>
		<RadioButton x:Name="cnCheckButton" Content="中文" HorizontalAlignment="Right" Height="78" Margin="0,0,211,43" VerticalAlignment="Bottom" Width="127" Foreground="#FF161616" IsChecked="True" GroupName="languageGroup" Checked="cnCheckButton_Checked" BorderBrush="#BFFFF9F9" Background="#BFF7F7F7"/>
		<RadioButton x:Name="enCheckButton" Content="English" HorizontalAlignment="Right" Height="78" Margin="0,0,64,43" VerticalAlignment="Bottom" Width="143" Foreground="#FF161616" GroupName="languageGroup" Checked="enCheckButton_Checked" BorderBrush="#BFFFF9F9" Background="#BFF7F7F7"/>
		<ScrollViewer HorizontalAlignment="Left" Margin="100,59,0,57" Width="278" d:LayoutOverrides="Height">
			<StackPanel x:Name="pictrues" Orientation="Vertical" Width="278" VerticalAlignment="Top">
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/1.jpg" IsSelect="True"/>
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/2.jpg"/>
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/3.jpg"/>
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/4.jpg"/>
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/5.jpg"/>
				<local:Pictrue Height="174" ButtonImageSource="/Res/Image/6.jpg"/>
				<local:Pictrue Height="174"/>
			</StackPanel>
		</ScrollViewer>
		<StackPanel x:Name="menuPanel" HorizontalAlignment="Right" Margin="0,97,99,125" Orientation="Vertical" Width="239">
			<local:MenuButton HorizontalAlignment="Right" Width="231" Height="67" Margin="0,0,0,27" ButtonImageSource="Res/cn/start.png" Foreground="White"/>
			<local:MenuButton HorizontalAlignment="Right" Width="231" Height="67" Margin="0,0,0,27" ButtonImageSource="Res/cn/select.png" Foreground="White"/>
			<local:MenuButton HorizontalAlignment="Right" Width="231" Height="67" Margin="0,0,0,27" ButtonImageSource="Res/cn/about.png" Foreground="White"/>
		

		</StackPanel>
		<Grid x:Name="aboutMe" Background="#C9000000" Visibility="Collapsed">
			<Image HorizontalAlignment="Right" Source="Res/nowpaper.jpg" Stretch="Fill" Width="181" Margin="0,71,93,227"/>
			<TextBlock TextWrapping="Wrap" VerticalAlignment="Top" Margin="83,71,334,0" FontSize="32" Foreground="#FFEFEFEF"><Run Text="D"/><Run Text="eveloper"/><Run Text=" : Nowpaper"/></TextBlock>
			<TextBlock TextWrapping="Wrap" VerticalAlignment="Top" Margin="83,148,334,0" FontSize="32" Text="Art design : Nowpaper" Foreground="#FFEFEFEF"/>
			<TextBlock TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="83,0,138,110" FontSize="32" Height="86" d:LayoutOverrides="VerticalAlignment" Foreground="#FFEFEFEF"><Run Text="Microsoft Visual Studio 2010"/><LineBreak/><Run Text="Microsoft Expression Blend 4"/></TextBlock>
			<TextBlock TextWrapping="Wrap" Margin="83,237,334,200" FontSize="32" Text="Tools :" d:LayoutOverrides="Height" Foreground="#FFEFEFEF"/>
			<TextBlock TextWrapping="Wrap" VerticalAlignment="Bottom" Margin="83,0,29,41" FontSize="32" Foreground="#FFEFEFEF"><Run Text="http://"/><Run Text="www.cnblogs.com/nowpaper"/></TextBlock>
			<Button x:Name="btnBack" Content="Back" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0,0,8,24" Width="181" Height="98" FontSize="32" Click="aboutme_buttonback" Foreground="#FFF1F1F1" BorderBrush="#FFF3F3F3" Background="#03FFFFFF"/>
		</Grid>
		<Path Data="M405,216.5 C412.84219,206.49225 408.60867,173.66457 410.84991,159.7308 C415.05307,171.59259 432.15201,201.89359 444,209 L429.86252,206.70879 C442.58414,229.78609 444.58673,248.42868 444,266 C439.89282,280.5658 435.33487,280.13855 430.5,270.5 C433.66559,254.23019 431.16446,235.01047 418.5,210.5 z" Margin="382,0,377.907,57" Stretch="Fill" UseLayoutRounding="False" Fill="#4D331F16" Height="118.968" VerticalAlignment="Bottom"/>
		<Path Data="M405,216.5 C412.84219,206.49225 408.60867,173.66457 410.84991,159.7308 C415.05307,171.59259 432.15201,201.89359 444,209 L429.86252,206.70879 C442.58414,229.78609 444.58673,248.42868 444,266 C439.89282,280.5658 435.33487,280.13855 430.5,270.5 C433.66559,254.23019 431.16446,235.01047 418.5,210.5 z" Margin="54.907,181.032,0,180" Stretch="Fill" UseLayoutRounding="False" Fill="#4D331F16" HorizontalAlignment="Left" Width="40.093" RenderTransformOrigin="0.5,0.5">
			<Path.RenderTransform>
				<CompositeTransform Rotation="180"/>
			</Path.RenderTransform>
		</Path>
		

		<!--TitlePanel contains the name of the application and page title-->

		<!--ContentPanel - place additional content here-->
	</Grid>
</phone:PhoneApplicationPage>